package com.hu.zhcc.shiro.service.xy;

import com.hu.zhcc.common.entity.Page;
import com.hu.zhcc.shiro.entity.lgx.TMember;
import com.hu.zhcc.shiro.entity.xy.dto.TAssessDTO;
import com.hu.zhcc.shiro.entity.xy.pojo.TAssess;
import com.hu.zhcc.shiro.entity.xy.pojo.TAssessQuestion;

import java.util.Map;

public interface TAssessService {

    int deleteByPrimaryKey(Integer id);

    int insert(TAssess record);

    int insertSelective(TAssess record);

    TAssess selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TAssess record);

    int updateByPrimaryKey(TAssess record);

    Page<TAssessDTO> listTAssess (Map<String, Object> paremeters, int offset, int limit);

    TAssess selectMember(Integer memberId);

    Integer updateTAssess(Integer id, TAssessQuestion[][] objects);

    Integer addTAssess(String idCard, TAssessQuestion[][] objects);


}
